<template>
	<view class="info">
		<view class="currency_card mb_30" v-for="n in data" :key="data.id">
			<view class="title flex-sp-center">
				{{n.chiefComplaint}}
			</view>
			<view class="text ">
				<view class="rowShow_2">
					{{n.diagnosis}}
				</view>
			</view>
			<view class="btmBox flex-sp-center">
				<view class="">
					生成时间：<uni-dateformat :date="n.createTime" format="yyyy-MM-dd hh:mm"></uni-dateformat>
				</view>
				<view class="flex-center">
					<uni-icons type="right" size="16" color="#999"></uni-icons>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		name: "PatientCondition",
		props: ["data"],
		data() {
			return {

			};
		}
	}
</script>

<style lang="less" scoped>
	.btmBox {
		margin-top: 25rpx;
		font-weight: 500;
		font-size: 26rpx;
		color: #999999;

		image {
			width: 25rpx;
			height: 25rpx;
			margin-right: 16rpx;
		}
	}

	.info {
		padding: 30rpx;

		.title {
			font-weight: 500;
			font-size: 30rpx;
			color: #333333;
			margin-bottom: 15rpx;

			image {
				width: 46rpx;
				height: 46rpx;
				margin-right: 17rpx;
			}
		}

		.text {
			width: 649rpx;
			height: 119rpx;
			background: #F8FAFB;
			border-radius: 10rpx;
			padding: 23rpx 16rpx;
			box-sizing: border-box;
			font-weight: 500;
			font-size: 28rpx;
			color: #666666;
		}
	}
</style>